import request from '@/utils/request'

export default{
    //查询热门课程和名师
    getIndexData(){
        return request({
            url: 'http://localhost:8001/eduservice/indexFront/index',
            method: 'get'
        })
    },
    //修改个人资料
    updateUcenter(ucenterMember){
        return request({
            url: 'http://localhost:8160/serviceUcenter/ucenter-member/updateUcenter',
            method: 'post',
            data:ucenterMember
        })
    }
}